#pragma once

struct EParam_s
{
	string 	name;
	string	value;
};



class EConfig : public IConfig
{
public:
						EConfig 	( IConsole *con, const char *cfg_name );
	virtual 			~EConfig 	( void );

	virtual const char	*GetField	( const char *field_name );
	virtual void		SetFiled	( const char *field_name, const char *value );

protected:

			void		Init		( void );

	string 		cfg_name;
	IConsole 	*con;

	vector<EParam_s> params;
};
